package com.casualgamers.proj1;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;


public class TitleScreen extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.titlescreen);
        
        initialize();

    }
    
    private void initialize() {
		// Initialize Interface Objects
    	Button startButton = (Button) findViewById(R.id.TitleScreenStartButton);
        
        
        
    	// Set listeners
    	startButton.setOnClickListener(new View.OnClickListener() {
        	public void onClick (View v) {
        		Intent myIntent = new Intent(((Context) TitleScreen.this), MainMenu.class);
				((Context) TitleScreen.this).startActivity(myIntent);
        	}
        });
	}

}